Repository navigation
Hall: "Find a game" (search, Continue playing, Surprise me) - #111
Merged
Merged
Conversation
The list page's three ways into a game, in the walkable hall. The bar's magnifier, F, / or controller Y opens a panel: a search box that finds what the list's search finds (layout cabinets carry filters.search_text as `search`), the browser's recent games (arcade.recent) and a random pick. Choosing one fades to the cabinet's front, facing it (HallWalk.front, as ?at=); reduce motion skips the fade. Typing never walks; the pad steps the list (up/down edges), A goes, B closes. Phone bar: Find and Sound are icons up to 480 px; at 320 px with the presence pill "All games" moves into the panel. Tests: hall_finder_test.cjs (parity with filters.Filter.found, recent, surprise), controls Y/up/down edges, hall_finder_check.cjs (desktop, iPhone 13, 320 px bar). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LYNeuoaYC1Xr17cu7rARyR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The list page has three ways into a game that the walkable hall lacked: the search box, "Continue playing" and "Random game". This adds them to the hall as one Find a game panel (feature parity between the two).
What it does
layout.jsonnow carriessearch=filters.search_text(...), and words are ANDed the same way. A filtered hall (?tag=halloween) lists its lit cabinets first.arcade.recent, the key both pages already write), live ones only, in order.__hall.go, the same pose/hall/?at=<slug>starts in). There's no fade with Reduce motion. A walk across the hall would snag on the rows, so it jumps instead.up/down/yedges inhall-controls.js), A goes, B closes. Touch: a full-width panel; the stick, card and play button step aside while it's open.Tests
tests/browser/hall_finder_test.cjs(viatest_find_a_game_finds_what_the_list_finds): the finder's results equalfilters.Filter(q=…).foundfor 11 queries, and the layout'ssearchequalsfilters.search_text. Also covers recent ordering, dedupe and blocked storage, and surprise picks.hall_controls_test.cjs: Y, up and down presses register once per push.tests/browser/hall_finder_check.cjson desktop, iPhone 13 and 320 px: opening, Continue playing order, narrowing, going (card and prompt up, panel closed), typing doesn't walk, Esc, Surprise me, and the bar fits. All pass.pytest: 707 passed, 1 skipped.hall_ui_check,hall_people_check,hall_atmosphere_checkandhall_fame_checkall pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01LYNeuoaYC1Xr17cu7rARyR
drafted by Claude on behalf of Daniel Stephenson